package com.asset.salesforce.service;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.asset.salesforce.dao.FollowDaoImpl;
import com.asset.salesforce.domain.Follow;

@Service
@Transactional(readOnly= true)
public class FollowService {
	
	@Autowired
	private FollowDaoImpl followDaoImpl;
	
	@Transactional(readOnly = false)
	public void addFollow(Follow follow){
		followDaoImpl.addFollow(follow);
	}
}
